import Axios from "axios";
import qs from "qs";

export default new class manageService{

    getUserInfor(){
        console.log("你好，陈平");
        let url = "/chen/userOption/getUserInfor";
        return Axios.get(url);
    }

    logout(){
        let url = "/chen/api/logout";
        return Axios.get(url);
    }

    changePwd(param){
        let url = "/chen/userOption/changPwd";
        return Axios.post(url, qs.stringify(param));
    }

}